﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Coupon
/// </summary>
public class Coupon
{
    private int coupon_id;
    private string coupon_name;
    private string coupon_des;
    private int discount;
    private int coupon_num;
    private DateTime date_start;
    private DateTime date_end;
    private DateTime date_added;

#region Properties

    public DateTime Date_added
    {
        get { return date_added; }
        set { date_added = value; }
    }

    public DateTime Date_end
    {
        get { return date_end; }
        set { date_end = value; }
    }
    public DateTime Date_start
    {
        get { return date_start; }
        set { date_start = value; }
    }

    public int Coupon_num
    {
        get { return coupon_num; }
        set { coupon_num = value; }
    }

    public int Discount
    {
        get { return discount; }
        set { discount = value; }
    }

    public string Coupon_des
    {
        get { return coupon_des; }
        set { coupon_des = value; }
    }

    public string Coupon_name
    {
        get { return coupon_name; }
        set { coupon_name = value; }
    }

    public int Coupon_id
    {
        get { return coupon_id; }
        set { coupon_id = value; }
    }

#endregion
	public Coupon()
	{
        this.coupon_id = 0;
        this.coupon_name = "";
        this.coupon_des = "";
        this.discount = 0;
        this.coupon_num = 0;
        this.date_start = DateTime.Now;
        this.date_end = DateTime.Now;
        this.date_added = DateTime.Now;

	}
    public Coupon(int coupon_id,string coupon_name,string coupon_des,int discount,int coupon_num,DateTime date_start,DateTime date_end,DateTime date_added ) 
    {
        this.coupon_id = coupon_id;
        this.coupon_name = coupon_name;
        this.coupon_des = coupon_des;
        this.discount = discount;
        this.coupon_num = coupon_num;
        this.date_start = date_start;
        this.date_end = date_end;
        this.date_added = date_added;

    }


}